export default {
	namespaced:true,
	state:()=>({
		device_info:{}
	}),
	mutations:{
		SET_DEVICR_INFO(state,data){
			state.device_info = data || {}
		}
	},
	actions:{
		GetDeviceInfo({commit}){
			uni.getSystemInfo({
				success: function (res) {
					commit('SET_DEVICR_INFO',res)
					console.log(res);
				}
			});
		}
	}
}